#include <iostream>
using namespace std;


class rvalueref
    {
        public:
            rvalueref(int k) {}
    };


class pok_1
    {
        public:
            const rvalueref&& Getpok_1()   const  { return (const rvalueref&&)(*(new rvalueref(1))); }
    };


void attemp(const rvalueref&& p) { delete &p; }


int main()
  {
      pok_1 A;
      attemp(A.Getpok_1());

      return 0;
  }

